<template>
    <div class="col-xs-offset-2 col-xs-8">
        <div class="page-header">
            <h2>Vue Banner Demo</h2>
            <button @click="back">后退</button>
            <button @click="forward">前进</button>
        </div>
    </div>
</template>

<script>
export default {
    name: "BannerPage",
    methods: {
        // 后退
        back() {
            this.$router.back()
        },
        // 前进
        forward() {
            this.$router.forward()
        },
    }
}
</script>

<style scoped>

</style>